package com.ship.dispatch.vo;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ship.dispatch.bean.SpShipSchedule;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class SpShipScheduleVO {
    /**
     * 船名称
     */
    private String shipName;
    /**
     * imo
     */
    private String imo;
    /**
     *起租日期-开始
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd 00:00:00")
    private Date startingDateOfLeaseBegin;
    /**
     *还船日期-结束
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd 00:00:00")
    private Date redeliveryDateEnd;

    /**
     * 舱容
     */
    private BigDecimal storageCapacity;

    /**
     * 浮动最大容量
     */
    private BigDecimal maxStorageCapacity;

    /**
     * 浮动最小容量
     */
    private BigDecimal minStorageCapacity;

    /**
     * 租金信息
     */
    private JSONArray rentTimeSlot = new JSONArray();

    /**
     * 租出时间集合
     */
    private List<leaseTermVO> leaseTermVOS = new ArrayList<>();

    private List<SpShipSchedule> shipSchedules = new ArrayList<>();
}
